package com.example.mapinformationandroid.ConstantData;

public class Define {
    //user
    public class UserDefine {
        public static final String DEFAULT_PICTURE = "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1584625622601&di=560c33ef493decca4b1f6ab24a5b1953&imgtype=0&src=http%3A%2F%2Fpic4.zhimg.com%2F50%2Fv2-7fece9a613445edb78271216c8c20c6d_hd.jpg";
        public static final String USER_ID = "id";
        public static final String USER_NAME = "name";
        public static final String USER_PHONE = "phone";
        public static final String USER_EXAMINE = "examine";
        public static final String USER_SUPPORT = "support";
        public static final String USER_TOKEN = "token";
        public static final String USER_HEAD_PICTURE = "head_picture";
        public static final String UER_PASSWORD = "password";
    }

    //huawei OBS
    public class HuaWeiObsDefine {
        public static final String OBS_END_POINT = "https://obs.cn-north-4.myhuaweicloud.com";
        public static final String OBS_ACCESS_KEY = "A7FBGJBGSDDEWDEBCRVV";
        public static final String OBS_SECRET_KEY = "EXhFScGEtyTDZeBmAlZgnPhp0vVDNC7Psb3pcncS";
        public static final String OBS_USER_NAME = "hw11389750";
        public static final String OBS_BUCKET_NAME = "map-information";
        public static final String OBS_PICTURE_PATH_HEAD = "https://map-information.obs.cn-north-4.myhuaweicloud.com/";
    }

    //http
    public class HttpDefine {
        public static final int TOKEN_INVALID = 1000;
        public static final int HTTP_SUCCESS = 1;
        public static final int HTTP_ERROR = 0;
        public static final String HTTP_ERROR_MSG = "请求错误";
        public static final String HTTP_SUCCESS_MSG = "请求成功";
    }

    //information
    public class InformationDefine {
        public static final String TOKEN = "token";
        public static final String TITLE = "title";
        public static final String CONTENT = "content";
        public static final String PICTURE = "picture";
        public static final String CRETE_USER_ID = "create_user_id";
        public static final String POST_CODES = "postcodes";
        public static final String PLACE = "place";
        public static final String COORDINATE_X = "coordinate_x";
        public static final String COORDINATE_Y = "coordinate_y";

    }

    public class Result {

        public static final int CAMERA = 225;
    }
}
